#include<stdio.h>
#include<time.h>
#include<stdlib.h>

void make();

int main()
{

    long i;
	int friday = 4;
    time(&i);
	friday = friday + ((i + 8 * 3600) / (3600 * 24) % 7);
	if(friday > 7)
	{
		friday = friday - 7;
	}
	printf("星期%d\n",friday);
	if(friday == 5)
	{
		make();
	}
        return 0;
}

// 你想在这一天做的事情写这里
void make()
{
	//system("vim a1.c");  
	//main();
}
